lucky_num = 30
for i in range(3):

    guess_num = int(input("Input guess num:"))

    if guess_num < lucky_num:
        print("smaller")
    elif guess_num > lucky_num:
        print("bigger")
    else:
        print("Bingo")
        break

else:
    print("Too many retry!")
